﻿using System;
using System.Collections.Generic;
using NPoco;

namespace BestEasyCMS.Model.Security
{
    [TableName("tb_Sec_Roles")]
    [PrimaryKey("Id")]
    [Serializable]
    public class Role : Entity<long>
    {
        /// <summary>
        /// 角色名
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 父ID
        /// </summary>
        public long? ParentId { get; set; }
        /// <summary>
        /// 深度
        /// </summary>
        [ResultColumn]
        public int Depth { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }


        protected override void Verify()
        {
            throw new NotImplementedException();
        }
    }
}
